function force_fullwidth() {
    let full_width = JSON.parse(localStorage.container_fullwidth || 'false');
    console.log('full_width',full_width)

    if (!full_width) {
        localStorage.container_fullwidth = !full_width;
        $(document.body).toggleClass("full-width", !full_width)
        frappe.show_alert({ message: __('已自动调整为全宽页面'), indicator: "green" });
    }
}
force_fullwidth()